package com.lwj.mallchat.common.common.event;

import com.lwj.mallchat.common.user.domain.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author lwj
 * @ClassName UserOnlineEvent
 * @date 2024/10/22 16:29
 */
@Getter
public class UserBlackEvent extends ApplicationEvent {

    private User user;

    public UserBlackEvent(Object source, User user) {
        super(source);
        this.user = user;

    }
}
